CMAKE_MINIMUM_REQUIRED(VERSION 2.8.1)
CMAKE_POLICY(SET CMP0015 NEW)

LINK_DIRECTORIES(${LINK_DIRECTORIES} ${CMAKE_LIBRARY_DIR})
ADD_DEFINITIONS(${LIBXML2_DEFINITIONS})

FILE(GLOB SRC htmlcss_test.cpp)
ADD_EXECUTABLE(htmlcss_test ${SRC})
INCLUDE_DIRECTORIES(${CMAKE_CURRENT_SOURCE_DIR} ${LUA_INCLUDE_DIR} ${LIBXML2_INCLUDE_DIR} )
TARGET_LINK_LIBRARIES(htmlcss_test nelmisc nelgui ${LUA_LIBRARIES} ${LIBXML2_LIBRARIES})
NL_DEFAULT_PROPS(htmlcss_test "Ryzom, Tests: html/css parser tests")
NL_ADD_RUNTIME_FLAGS(htmlcss_test)

INSTALL(TARGETS htmlcss_test   RUNTIME DESTINATION bin COMPONENT tools)
# TODO: test fixtures
